package com.example.demo.service;

import com.example.demo.domain.app.vo.CategoryInfoVO;
import com.example.demo.domain.param.ProductCategoryCreateParam;
import com.example.demo.domain.param.ProductCategoryUpdateParam;
import com.example.demo.domain.vo.CategorySelectVO;
import com.example.demo.domain.vo.CategoryVO;

import java.util.List;

/**
 * CategoryService
 *
 * @author haochen78
 * @date 2025/10/7 21:09
 **/
public interface ProductCategoryService {
    List<CategoryVO> list();

    List<CategorySelectVO> type();

    void create(ProductCategoryCreateParam param);

    void update(ProductCategoryUpdateParam param);

    void delete(Long id);

    List<CategoryInfoVO> all();
}
